del /F /Q setup.exe

\Python26\python.exe setup.py py2exe 1> build_exe.log 2> err_exe.log

cd dist && "\Program files\Inno Setup 5\ISCC.exe" /Oc:.. wphoniax.iss 1> ..\build_setup.log 2> ..\err_setup.log && rmdir /S /Q .
cd .. 
rmdir /S /Q build

pause
